from setuptools import setup

package_name = 'demo_python_pkg'

setup(
    name=package_name,
    version='0.0.0',
    packages=[package_name],
    data_files=[
        ('share/ament_index/resource_index/packages',
            ['resource/' + package_name]),
        ('share/' + package_name, ['package.xml']),
    ],
    install_requires=['setuptools'],
    zip_safe=True,
    maintainer='ck',
    maintainer_email='ck@example.com',
    description='Demo Python package with PersonNode and WriterNode',
    license='Apache-2.0',
    tests_require=['pytest'],
    entry_points={
        'console_scripts': [
            # 父类节点
            'person_node = demo_python_pkg.person_node:main',
            # 子类节点（注意：如果文件名为writer.py，这里写writer；如果是writer_node.py，写writer_node）
            'writer_node = demo_python_pkg.writer:main',  
        ],
    },
)
